body {
  background-color: #f9a0a0;
  font: bold 20px 'Courier';
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#main {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 20.556vw auto;
  width: 360px;
  height: 420px;
  background-color: #b7d4a9;
  border: 10px solid #000;
  border-radius: 20px;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-around;
}
#main #stage {
  position: relative;
  width: 304px;
  height: 304px;
  border: 2px solid #000;
}
#main #stage #snake > div {
  width: 10px;
  height: 10px;
  background-color: #000000;
  border: 1px solid #b7d4a9;
  position: absolute;
}
#main #stage #food {
  position: absolute;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
  align-items: center;
  width: 10px;
  height: 10px;
  left: 40px;
  top: 100px;
  transform: rotate(45deg);
}
#main #stage #food div {
  width: 4px;
  height: 4px;
  background-color: #000;
}
#main #score-panel {
  width: 300px;
  display: flex;
  justify-content: space-between;
}
#BUT {
  position: absolute;
  top: 450px;
  margin: auto;
  width: 120px;
  height: 120px;
  background-color: #b7d4a9;
  border: 1px solid #000;
  padding: 9px;
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
  align-items: center;
  transform: rotate(45deg);
}
#BUT div {
  width: 49px;
  height: 49px;
  text-align: center;
  line-height: 50px;
  border-radius: 10px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-bottom: 5px solid #000;
  border-right: 5px solid #000;
}
#BUT div i {
  display: inline-block;
  transform: rotate(-45deg);
}
#BUT div:hover {
  background-color: #80a46e;
  border-top: none;
  border-left: none;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}
